package com.zhaoxi.project.wms.domain;

import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 生产物品对象 wms_bom
 * 
 * @author zhaoxi
 * @date 2023-08-28
 */
@Data
public class BomLine extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 物品id */
    @Excel(name = "物品id")
    private Long productId;

    /** 物品子码 */
    @Excel(name = "物品子码")
    private Long subProductId;

    /** 物品数量 */
    @Excel(name = "物品数量")
    private double quantity;

    /** 修改前的物品编码 */
    @Excel(name = "修改前的物品子码")
    private Long oldSubProductId;

    /** 子码列表 */
    private List<?> children = new ArrayList<>();
}
